package environment;

import java.awt.Polygon;
import java.awt.Shape;
import java.awt.geom.Area;
import java.util.ArrayList;
/**
 * This class holds attributes of the environment of the tracking experiment 
 * @author Moamen Mokhtar
 *
 */
public abstract class AbstractEnvironment {

	protected ArrayList<Area> obstacles = new ArrayList<Area>(); // list ob obstacles
	protected Area area; // the final area with the obstacles subtracted from it.
	
	abstract public void addObstacle(Shape wall);
        abstract public Area getFinalArea();
	public Area getArea(){
		return area;
	}
	public ArrayList<Area> getObstacles(){
		return obstacles;
	}
        
	
	
	
}
